package com.hifar.test.unitstandardrelation.pojo;

import java.io.Serializable;
import java.util.Date;

import javax.validation.constraints.NotEmpty;
import javax.validation.constraints.NotNull;

import com.alibaba.fastjson.annotation.JSONField;
import com.baomidou.mybatisplus.annotation.*;
import com.fasterxml.jackson.annotation.JsonFormat;
import com.hifar.model.BaseModel;
import com.hifar.plat.AopOption.Excel;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;
import lombok.EqualsAndHashCode;

/**
* <p>
 * 项目-检测项目-标准
 * </p>
 *
 * @author wangkepeng
 * @since 2024-12-05 09:22:13
 */
@Data
@EqualsAndHashCode(callSuper = false)
@TableName("HF_PRJ_UNIT_STANDARD")
@ApiModel(value = "HfPrjUnitStandard对象", description = "项目-检测项目-标准")
public class HfPrjUnitStandard extends BaseModel implements Serializable {

    private static final long serialVersionUID = 1L;


    /**
    * 检测项目ID
    */
    @NotNull(message = "项目不能为空!")
    @NotEmpty(message = "项目不能为空!")
    @Excel(name="检测项目ID",sort=1)
    @ApiModelProperty(value = "检测项目ID")
    @TableField("UNIT_ID")
    @JSONField(name = "unitId")
    private String unitId;


    /**
    * 方法ID
    */
    @Excel(name="方法ID",sort=1)
    @ApiModelProperty(value = "方法ID")
    @TableField("STANDARD_ID")
    @JSONField(name = "standardId")
    private String standardId;


    /**
    * 是否默认  1 是 0 否
    */
    @Excel(name="是否默认  1 是 0 否",sort=1)
    @ApiModelProperty(value = "是否默认  1 是 0 否")
    @TableField("IS_DEFAULT")
    @JSONField(name = "isDefault")
    private Integer isDefault;


    /**
    * 备注
    */
    @Excel(name="备注",sort=1)
    @ApiModelProperty(value = "备注")
    @TableField("REMARKS")
    @JSONField(name = "remarks")
    private String remarks;


    /**
    * 章节描述
    */
    @Excel(name="章节描述",sort=1)
    @ApiModelProperty(value = "章节描述")
    @TableField("CHAPTER_DESCRIPTION")
    @JSONField(name = "chapterDescription")
    private String chapterDescription;

}